﻿@{
    Layout = "_Layout";
}

@section masterCss
    {
<environment names="Development">
    <link href="~/css/materialize.css" rel="stylesheet" />
    <link href="~/lib/star-rate/css/star-rating.css" rel="stylesheet" />
    <link href="~/lib/fileinput/css/fileinput.css" rel="stylesheet" />
<link rel="stylesheet" href="~/lib/layui/css/layui.css">
</environment>
<environment names="Staging,Production">
    <link href="~/view-resources/Views/_Bundles/shared-edit.min1.css" rel="stylesheet" asp-append-version="true"/>
</environment>
}

@section styles
    {
    <environment names="Development">
    <link href="~/css/layout-content.css" rel="stylesheet" />
    <link href="~/css/fileico.css" rel="stylesheet" />
    <link href="~/css/icons.css" rel="stylesheet" />
    </environment>
        
    <environment names="Staging,Production">
        <link href="~/view-resources/Views/_Bundles/shared-edit.min2.css" rel="stylesheet" asp-append-version="true"/>
    </environment>

    <style>
        body {
            position: absolute;
            left: 0px;
            right: 0px;
            top: 0px;
            bottom: 0px;
        }

        .body-content {
            padding: 0px;
        }

        fieldset {
            height: 100%;
        }

            fieldset:disabled .box-body {
                height: 100%;
            }

            fieldset:disabled .modal-footer {
                display: none;
            }
    </style>
    @RenderSection("styles", false)
}

@section MasterScripts
    {
    <environment names="Development">
        <script src="~/lib/star-rate/js/star-rating.js"></script>
        <script src="~/lib/fileinput/js/fileinput.js"></script>
        <script src="~/lib/fileinput/js/fileinput_locale_zh.js"></script>
        <script src="~/lib/layui/layui.js"></script>
    </environment>

    <environment names="Staging,Production">
        <script src="~/view-resources/Views/_Bundles/shared-edit.min1.js" asp-append-version="true"></script>
    </environment>

}

@section scripts
    {

    @RenderSection("scripts", false)
}

@RenderBody()
<environment names="Development">
    <script src="~/js/admin.js" asp-append-version="true"></script>
    <script src="~/js/main.js" asp-append-version="true"></script>
    <script src="~/js/save-form.js" asp-append-version="true"></script>
</environment>
<environment names="Staging,Production">
    <script src="~/view-resources/Views/_Bundles/shared-edit.min2.js" asp-append-version="true"></script>
</environment>
